package com.lby.psychology.model.co;

import com.lby.psychology.model.common.PageBasic;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "选项入参")
public class PsycOptionCo extends PageBasic {


    @NotNull(message = "问题不能为空")
    @Schema(description = "问题id")
    private Integer questionId;

    @Schema(description = "问题名称")
    private String questionName;

    @NotNull(message = "选项编码不能为空")
    @Schema(description = "选项编码")
    private String optionCode;

    @NotNull(message = "选项分数不能为空")
    @Schema(description = "选项分数")
    private Integer optionScore;

    @NotNull(message = "选项描述不能为空")
    @Schema(description = "选项描述")
    private String optionName;


}
